Platform Explorer / Nuxeo Platform 2021

Operation Document.RemovePermission (Remove Permission)

Description

Remove a permission given its id or all permissions for a given user on the input document(s). Parameter 'id' or 'user' must be set. Returns the document(s).
Operation id Document.RemovePermission
Category Document
Label Remove Permission
Requires
Since

Parameters

Name Description Type Required Default value
acl string no  
id string no  
user string no  

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.RemovePermission
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.RemovePermission",
  "label" : "Remove Permission",
  "category" : "Document",
  "requires" : null,
  "description" : "Remove a permission given its id or all permissions for a given user on the input document(s). Parameter 'id' or 'user' must be set. Returns the document(s).",
  "url" : "Document.RemovePermission",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ {
    "name" : "acl",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "id",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "user",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}